package com.cnpc.fyupdate.db.test;


import com.cnpc.fyupdate.db.db.DBConfig;
import com.cnpc.fyupdate.db.db.IssContentProvider;
import com.cnpc.fyupdate.db.db.IssDBFactory;

/**
 * Created by songzhiiyn on 2017/1/22.
 */

public class SssProvider extends IssContentProvider {
    @Override
    public void init() {

        // 数据库相关参数设置
        DBConfig config = new DBConfig.Builder()
                .addTatble(SmartDownloadBean.class)
                .setName("sss.db").setVersion(2)
                .setAuthority("com.sss").build();

        IssDBFactory.init(getContext(), config);
    }
}
